<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

return array(
//支付宝配置参数
    'ALIPAY_CONFIG' => array(
        'appId' => '2015082800238013', //支付宝开放平台appid
        'partner' => '2088611906713439', //这里是你在成功申请支付宝接口后获取到的PID；
        'key' => '85sru6vshmxux9dlaeycjjvb9nelnd7l', //这里是你在成功申请支付宝接口后获取到的Key
        'sign_type' => strtoupper('MD5'),
        'input_charset' => strtolower('utf-8'),
        'cacert' => dirname(__FILE__) . '\\cacert.pem', // getcwd() . '\\cacert.pem',
        'transport' => 'http',
    ),
    //以上配置项，是从接口包中alipay.config.php 文件中复制过来，进行配置；
    'ALIPAY' => array(
//这里是卖家的支付宝账号，也就是你申请接口时注册的支付宝账号
        'seller_email' => 'hongwei@uclbrt.com',
        //这里是异步通知页面url，提交到项目的Pay控制器的notifyurl方法；
        'notify_url' => 'http://' . MEIZHU_BOOK_HOST . '/Home/Pay/alipayCallback.html',
        //这里是页面跳转通知url，提交到项目的Pay控制器的returnurl方法；
        'return_url' => 'http://' . MEIZHU_BOOK_HOST . '/Home/PayPage/result.html',
        'show_url' => 'http://' . MEIZHU_BOOK_HOST . '/Home/PayPage/result.html',
    ),
    // 微信支付配置
    'WECHAT_PAY_NOTIFY_URL' => 'http://' . MEIZHU_BOOK_HOST . '/Home/Pay/wechatPayCallback.html',
    'WECHAT_PAY_CONFIG' => array(
        'appid' => 'wx20dec81897ccbeec',
        'appsecret' => '6327e817dce6ffdf74f18ba24211d78d',
        'mchid' => '1260763301',
        'mchkey' => '201488changlian111213141516h1w20',
    ),
    // 钥匙包微信支付配置
    'QR_WECHAT_PAY_CONFIG' => array(
        'appid' => 'wx36ac2ef31f0c4abb',
        'appsecret' => '2f2675614cd1e5079cbb661ec0c17065',
        'mchid' => '1485038312',
        'mchkey' => '201488changlian111213141516h1w20',
    ),
);
